<script type="text/javascript">
	$(document).ready(function(){
		$("#search").click(function(){
			var cari = $("#cari").val();
			var jenis = $("#jenis_cari").val();
			$.ajax({
				url: "module/mod_peserta/js/calon_peserta.php",
				data: "data="+cari+"&jenis="+jenis,
				cache: false,
				success: function(msg){
					$("#peserta").html(msg);
				}
			});
		});
	});
</script>

<div id=tiga_ba>
	<div id=tiga_baa>Tambah Peserta</div>
	<div id=tiga_bab></div>
	<div class=clear></div>
</div>
<div class="cari">
	Pencarian : 
	<select name="jenis_cari" id="jenis_cari" class="input1">
		<option value="nik">NIK</option>
		<option value="nama">Nama</option>
	</select>
	<input type="text" name="cari" id="cari" class="input2">
	<input type="submit" name="submit" id="search" value="Cari" class="button">
</div>    
<div id="peserta"></div>		
            
        